package com.springbootjsp.service;

import com.springbootjsp.model.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: szw
 * @Date: 2021/6/10 17:48
 */
public interface TestService {
    List<User> findall();
    //登录
    List<User> login(User user);

    //根据用户名字去查找
    boolean findById(String name);

    //注册
    boolean insertUser(User user);


}
